package com.kakarote.bi.common;

import com.kakarote.core.common.aspect.TenantSkipAspect;
import org.springframework.context.annotation.Configuration;

import java.util.Arrays;
import java.util.Collection;

/**
 * 需要跳过租户过滤的表
 *
 * @author zhangzhiwei
 */
@Configuration
public class TenantSkipTableConfig implements TenantSkipAspect.TenantSkipTable {
    /**
     * 获取不需要租户过滤的表
     *
     * @return tables
     */
    @Override
    public Collection<String> getSkipTables() {
        return Arrays.asList("wk_bi_table_field_config", "wk_temp_date");
    }
}
